import React from 'react';
import styles from './index.less';
export type ListLabelProps = {
  label: string;
  value: string | number;
};
//Label
const ListLabel: React.FC<ListLabelProps> = (props) => {
  const { label, value } = props;
  return (
    <div className={styles.item}>
      <div className={styles.label}>
        <span>{label}:</span>
      </div>
      <div className={styles.value}>
        <span>{value}</span>
      </div>
    </div>
  );
};
export default ListLabel;
